import java.util.ArrayList;

public abstract class Mediator {
    //所有与该中介交互的对象列表
    protected ArrayList<Colleague> colleagues = new ArrayList<Colleague>();

    public void register(Colleague colleague) {
        colleagues.add(colleague);
    }


    public abstract void operation(String message);
}
